Ema BacktesterA simple, but useful script for backtesting purposes. Find the optimal Settings for your strategy.
tips are always welcome at: 38uGQJDDZDL6wX48x4gYTccPeQ3ZHVYmY4 (btc)
I hope you enjoy the script :)
Pesquisar nos scripts por "the script"
Trending CMF MultiTimeFrame - Strategythis is the strategy for the script below
Multi time frame crypto trader
E-Z Hai Cloud v0.01Very Early version of a new script I am working on. Currently setup for one hour but I want it to work well on multiple time frames.
Options for ADX aren't working atm.
Wanting to add take profits and stop losses in the future, as well as the ability for the script to check multiple time frames so it knows to hodl or dump.
Please let me know if you run into any issues.
BarUpDn time limitedtrying to understand strategies, it appears that there is a lot of black magic in how a strat works behind the scenes.
anyway, it's hard to analyse what's all the data with one gazillion entries, and i wanted to know how we can manipulate/do stuff with a chart.
so, i needed to know how to "give" the script my values to work on. bundled two wants/needs into one, and created a script that only applies a strategy from the date given onwards.
how to use:
at the chart, go to the "format" little button, then the input tab, and there is all the date fields i created. fun to set it to the current date, then start going backwards and see all the little arrows filing up the chart :)
Jawwad Elite_Crypto Trading Strategy (LTC/USD) NON-REPAINTING!!!1. Use Heiken-Ashi candles on 1H or 1 minute chart. I have tested it on LTC/USD pair.
2. Apply the script.
3. It is a non-repainting strategy. Please report if there is any problem.
4. Enjoy!!!
THE PHOENIX v0.1 wSMDAS requested - Version of my Phoenix Script with both LONG and SHORTS, Backtest results will not be accurate unless you use margin trading.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Implementation in TradingView of modified version of the "Weis Wave".
indicatior will generate Long and Close Long signals according to market trend.
(Learned the hard way that using short instead of close long to close long orders will seriously mess backtest results and create unrealistic expectations)
Added a customizable RATE OF CHANGE indicator that I called SMD (sideways market detection) to try and avoid trading on sideways market.
References: "Trades About To Happen" David H. Weis, Division 2 of the Richard D. Wyckoff Method of Trading in Stocks.
I've had best results on 2h and 4h charts, I would not recommend to go below 1h, my general rule is to run the backtest on regular candle and make sure the backtest gives goodd result, but I use the script with autoview on heikin ashi.
Backtesting: You can change the dates of the backtest as you please, the backtest runs with 1000USD and 100% of equity orders, 3 ticks slippage and 0.1% commission.
For Autoview users: Will upload LONG ALERT and CLOSE LONG ALERT studies separately as I find it easier to see whats going on on 2 seperate indicators.
NO, IT DOES NOT REPAINT.
Vortex Ocillator - backtestingbacktesting strategy for the vortex oscilator indicator, slightly modified on this version so that the buy and sell signals work with the backtesting and are consistant
original idea i posted by accident
the script with alerts
not intended to be financial advice, strategy is for made for testing
Biffy
Bitmex Bot 5m candlesThis script was made for our customers to test the strategies of our Bitmex Bot.
I'm not going to give you permission to use the Script, only if you become our client.
Telegram @rmgslash
Ichimoku + Adx StrategyA strategy based on ichimoku and dmi optimized for crypto trading
Signals created with
tenkan/kijun
chikou > close
dmi+/dmi-
dmi > thold
adx > thold
sell
tenkan/kijun
chikou<close
dmi+/dmi-
I'm still optimizing the script. If you want to use it as it is pm me.
Cheers
VWMA + SMA BBollinger + RSI Strategy (ChartArt) mod by BiO618This is a script I remade from the original ChartArt's "CA_RSI_Bolling_Strat".
I added a VWMA following the SMA basis curve.
BBand was made with the SMA curve, +2DS.
The point of adding VWMA to the script is to get a fast correlation between price change and volume change.
How to interpret it:
Since 3-Intervals-VWMA = (P1*V1 + P2*V2 + P3*V3) / (V1+V2+V3)
As the volume grows, VWMA get smaller.
If the price goes to the upper band, and the VWMA follows it, Price grew more than Volume, and a correction would happen soon.
If the price goes to the lower band, and the VWMA follows it, Price dipped with a lot of Volume, and a continuation of trend would be expected.
If the price goes to the upper band, and the VWMA stays close to SMA, Price grew with a correspondient Volume, and the continuation of trend would be expected.
If the price goes to the lower band, and the VWMA stays close to SMA, Price dipped with low Volume, a correction would happen soon.
Remember that NO INDICATOR is flawless, support your interpretation with other indicators like RSI and MACD.
Hope you enjoy it!
φ!
BitMex Trailing Stop StrategyThis script is designed for those who want to use BitMex's trailing stop. It's not meant to be used as entry exits, but rather to get an idea of how wide the trailing stop needs to be. I suggest you backtest with different values. The script can also be integrated into an existing strategy which does give entry/exits to act as its stop loss.
[Autoview][BackTest] Blank R0.13BThis is a fork of JustUncleL's
Dual MA Ribbons R0.13
It is now a blank template for making new strategies / alerts for autoview
The changes are as follows:
Removed actual algo
Establish functions for long Signal, long Close Signal and short Signal, short Close Signal to minimize the places code must be edited to update / replace algos
Make allow Long and allow short and invert trade directions independent options
Added support for alternate candle types
Added autoset backtest period feature, and optional coloring
Moved strategy calls in to functions so they can all be commented out or activated / disabled in a single block at the top of the script
The Falcon v2 Long only strategy Using Stop loss and take profitHello,
Here is a backtest result from the beginning of the year on BTC. The white line is the Buy & Hold return.
Comission is set to 0.05% and there is no repainting : the price variable I'm using is heikenashi(tickerid).
The indicator is built upon RSI, EMAs and some other personnal tricks so predict trends.
I coded a stop loss and take profit system : the script will simply buy and sell upon conditions.
As usual I am selling access to the script, If some are interested I will publish an alert setup version. I am also open to development or reverse engineering commissions.
VJSHARMA_BB_MACD_Stoch_Short_Trade_Strategy_V2This script has the same working behind it except for some minor tweaks.
These tweaks enable the script to generate more signals than the previous version but with a loss of 4% accuracy.
SB_Volume_oscillator_Prev_high_lowThe strategy is a take on traditional volume oscillator.
In Layman terms:
The script places an order when the oscillator crosses the zero mark in the volume oscillator.
If the previous high is greater than the absolute value of previous low then a long order is placed
And if the absolute previous low is greater than the previous high then a shrt order is placed.
Last script (bandwidth focus on other monetary works. If you have any opportunities ping me)
Message if you think of any modifications/ enhancements/ any opportunities. :)
Donations/Tips... :) -
BTC: 1BjswGcRR6c23pka7qh5t5k56j46cuyyy2
ETH: 0x64fed71c9d6c931639c7ba4671aeb6b05e6b3781
LTC: LKT2ykQ8QSzzfTDB6Tnsf12xwYPjgq95h4
SB_Elder Impulse SystemThe strategy is based on LazyBear's Elder Impulse System
Strategy(in layman terms):
Long: When the green bar in the Elder Impulse System's indicator shows up
Short: When the red bar in the Elder Impulse System's indicator shows up
Close trade/Profit booking: When the blue bar in the Elder Impulse System's indicator shows up
Original Idea:
Message in the script if you think of any modifications/ enhancements.
Donations/Tips... :) -
BTC: 1BjswGcRR6c23pka7qh5t5k56j46cuyyy2
ETH: 0x64fed71c9d6c931639c7ba4671aeb6b05e6b3781
LTC: LKT2ykQ8QSzzfTDB6Tnsf12xwYPjgq95h4
SB_CM_RSI_2_Strategy_Version 2.0(New: Profit booking present which is not present in the previous indicator)
The strategy is based on the indicator posted by @ChrisMoody "CM RSI-2 Strategy Lower Indicator" which is based on "Larry Connors RSI-2 Strategy - Lower RSI"
In this strategy, the longs are placed when a green color is encountered in the rsi in the previous candle and short when the red color is encountered in the rsi.
Although the profits are booked when the rsi crossover the 10 level mark or crossunder the 90 level mark.
Just message in the script if you have any different idea regarding this indicator.
For the original indicator you can refer to :
For Tips to continue :) -
BTC: 1BjswGcRR6c23pka7qh5t5k56j46cuyyy2
ETH: 0x64fed71c9d6c931639c7ba4671aeb6b05e6b3781
LTC: LKT2ykQ8QSzzfTDB6Tnsf12xwYPjgq95h4
SB_CM_RSI_2_Strategy_Version 1.0The strategy is based on the indicator posted by @ChrisMoody "CM RSI-2 Strategy Lower Indicator" which is based on "Larry Connors RSI-2 Strategy - Lower RSI"
In this strategy the longs are placed when a green color is encountered in the rsi and short when red color is encountered in the rsi.
Although the profits can be booked at different interval.
Just message in the script if you have any different idea regarding this indicator.
For the original indicator you can refer to :
For Tips to continue :) :
BTC: 1BjswGcRR6c23pka7qh5t5k56j46cuyyy2
ETH: 0x64fed71c9d6c931639c7ba4671aeb6b05e6b3781
LTC: LKT2ykQ8QSzzfTDB6Tnsf12xwYPjgq95h4
Updated TurtlesThis script has been updated to prevent double orders (short/long) from occurring and modifying backtests results.
This is an update to the script that was written a few years ago to prevent double longs/shorts from occurring and skewin backtesting results. Check out the updated indicator here and let me know what you think.
I also added:
- date range inputs if you want to do some backtesting on a particular set of dates.
- the ability to toggle shorting
LFH/ Long positions using MACD histogram, long EMA and short EMADisclaimer: I'm a noob.
Hey there!
I'm trying to implement a script which enter market long position when long EMA crossover short EMA and MACD histogram is positive and histogram at T time is lesser than histogram at T-1.
And when short EMA crossover long EMA, plus MACD histogram is negative and histogram at T is greater than histogram at T-1, I want the script to exit market long position.
Now, I have something pretty close to what I am looking for. What I am missing and can't figure out yet is:
How to moderate entries, ie. I would like it to enter positions when trends are really interesting not just every time the conditions are fulfilled (same for exits) as there is way too much positions
I need to find a way to exit appropriated positions.
[Tutorial][RS]Working with ordersa small tutorial to explain how to work with orders, comments in the script.
Another Millionaire toolBack with another Millionaire tool script, put like a solid 12 minutes here curve fitting the moving averages. THIS WILL MAKE YOU A MILLIONAIRE. It is so easy, it makes one of the hardest industries very very easy. Works on any market. I'VE DECIDED TO SHARE THE SCRIPT AND MAKE IT PUBLIC SO WE CAN ALL BE RICH TOGETHER, MILLIONAIRES
Understanding order sizestype: properties manipulation, no programming needed
time required: 15minutes, at least
level: medium (need to know contracts, trading pairs)
A strategy can "appear" to work or be broken depending on the pile of cash that is working on. This amount is defined in the strat properties, under "order size".
For noobs (like me) this is very confusing at first :)
A strat opens/closes positions using units, a generic measure for the chart being operated on. Thes "units" can be a fixed amount of cash, a fixed amount of contracts, or a floating amount based on the last profits made. I recommend checking my previous strat to figure the case of contracts .
So, any trading price is the amount of "things" you get for some "cash". The things are the first unit, the "cash" is the second. Some examples:
XAU/USD - 1 xau oz is worth x dollars
BTC/USD - 1 bitcoin is worth x dollars
GBP/EUR - 1 pound is worth x euros
To add to confusion, a lot of markets the "unit size" is different from what the strat thinks it is. An options contract is 100 shares(the unit), 1 xau contract is 10 oz(units), 1 eur/usd contract is 100k euros and so on... so, after figuring out how the sizes work in a strat, then the sizes must be adapted for the specific market in question.
The choice os using the ETHUSD pair is because:
1 - you can buy 1eth, unlike a gold contract for example, so 1 "unit" = 1 eth, easier to get
2 - ETH is around 12 bucks, wich gives round numbers on the math, easier to wrap the brains around :)
3- is an unusual pair, so the regular contract sizes don't apply, and the brain is not conditioned to work inside the box ;)
You will have to access the script properties, to change the values. As these values are changed you will see exactly the differences in the values of the strat.
Text is too long, check the comments for all the cases